package com.shiyue.cqe.bind.xml.bean;

import java.io.Serializable;
import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@SuppressWarnings("serial")
@Root(name = "table",strict=false)
public class Table implements Serializable{
	@Attribute(name="table",required=true)
	private String table;
	
	@Attribute(name="showName",required=false)
	private String showName;
	
	@Attribute(name="simpleName",required=false)
	private String simpleName;
	
	@Attribute(name="tableNum",required=false)
	private String tableNum;
	
	@Attribute(name="orderNum",required=false)
	private int orderNum;
	
	@Attribute(name="dynamicUpdate",required=false)
	private boolean dynamicUpdate;
	
	@Attribute(name="des",required=false)
	private String des;
	
	@ElementList(name="line",inline=true, required=false)
	List<Line> lines;
	
	public List<Line> getLines() {
		return lines;
	}

	public void setLines(List<Line> lines) {
		this.lines = lines;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public String getSimpleName() {
		return simpleName;
	}

	public void setSimpleName(String simpleName) {
		this.simpleName = simpleName;
	}

	public String getTableNum() {
		return tableNum;
	}

	public void setTableNum(String tableNum) {
		this.tableNum = tableNum;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public boolean isDynamicUpdate() {
		return dynamicUpdate;
	}

	public void setDynamicUpdate(boolean dynamicUpdate) {
		this.dynamicUpdate = dynamicUpdate;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}
}
